package sfbot;

public class IrcChannel implements Channel{
	private String name;
	public IrcChannel(String name){
		this.name = name;
	}
	
	public String getName(){
		return name;
	}

	@Override
	public boolean equals(Channel c) {
		return name.equalsIgnoreCase(c.getName());
	}

	@Override
	public int compareTo(Channel c) {
		return name.compareToIgnoreCase(c.getName());
	}
	
}
